package com.fairytask.engine.components.tree {
	import flash.events.Event;
	
	
	public class TreeEvent extends Event {

		public static const CLICK_NODE:String = "clickNode";
		//事件源
		public static const CLICK_CHILD:String = "clickChild";
		
		public static const CLICK_ITEM:String = "clickItem";
		public static const CLICK_ICON:String = "clickIcon";
		
		public static const DOUBLE_CLICK_ITEM:String = "doubleCliclItem";
		
		public static const SHOW_MENU:String	= "showMenu";
		
		public var pList	:Array;
		
		public var item		:TreeItem;
		
		public function TreeEvent(type:String,_item:TreeItem=null,_pData:Array=null,cancelable:Boolean = false) {
			super(type,cancelable);
			item	=	_item;
			pList	=	_pData;
		}
	}
}